import React, { Component } from 'react'
import { BrowserRouter as Router, Route, Link, Switch } from "react-router-dom"
import About from './pages/About';
import HomePage from './pages/homePage/HomePage';
import keySearchMusicList from './pages/keySearchMusicList/keySearchMusicList';
import MusicList from './pages/musicList/MusicList';
export default class IndexRouter extends Component {
  render() {
    return (
      <Switch>
        <Route path="/" exact component={HomePage}/>
        <Route path="/about" component={About} />
        <Route path="/music_list" component={MusicList} />
        <Route path="/key_search_music_list" component={keySearchMusicList} />
      </Switch>
    )
  }
}
